home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / timetrak.arc / TIMETRAK.DOC < prev   
Text File  |  1987-06-25  |  3KB  |  70 lines

  1. TITLE:         CLOCK.COM
  2. PURPOSE:       Track elapsed time            
  3. DATE:          6/25/87
  4. AUTHOR:        Thomas A. Lundin
  5.                Graphics Unlimited Inc.
  6.                3000 2nd St. N.
  7.                Minneapolis, MN 55411
  8.                (612) 588-7571
  9.  
  10. DESCRIPTION:   CLOCK allows you to track elapsed time.  It works like Norton's 
  11.                TimeMark utility by squirreling away a starting clock time in 
  12.                an unused portion of memory when invoked, and then 
  13.                interrogating that value to arrive at an elapsed time when 
  14.                prompted to do so.
  15.  
  16. OPERATION:     The command line invocation is:
  17.  
  18.                clock in ─┘  -and-
  19.                clock out ─┘
  20.                
  21.                CLOCK IN starts the timer.
  22.                CLOCK OUT displays the elapsed time since the last CLOCK IN, 
  23.                   which is also redisplayed. 
  24.                
  25.                CLOCK OUT Q displays the elapsed time with no redisplay of  
  26.                   the CLOCK IN value.
  27.  
  28.                You may CLOCK OUT as many times as you want from a single CLOCK 
  29.                IN.  Be aware, however, that it is the accumulated elapsed time 
  30.                which is displayed, and not split times.  A new CLOCK IN will 
  31.                restart the elapsed time count.
  32.  
  33.                A record of elapsed times can be kept by redirecting the 
  34.                output of the CLOCK OUT into a disk file (or even the 
  35.                printer):
  36.  
  37.                     CLOCK OUT >>TIME.LOG 
  38.  
  39.                will append the elapsed time display to the disk file 
  40.                "time.log" (note that two angle brackets indicate "append" as 
  41.                opposed to "create").
  42.  
  43. NOTES:         Elapsed time can extend to a minute short of 24 hours.  A CLOCK 
  44.                IN is stored until you reboot.  The time is stored in the 
  45.                interrupt vector locations normally used for CASSETTE BASIC 
  46.                (INT 18H, addresses 60H-63H).  So, if your DOS programs need 
  47.                the CASSETTE BASIC interrupt vector, the CLOCK program won't 
  48.                work.  Or rather, your CASSETTE BASIC won't work, since I'm 
  49.                wiping out the interrupt vector for it.  Reboot.
  50.  
  51.                DEBUG location 046AH contains the value of the starting address 
  52.                where time is stored (036AH if you're using a file patcher). 
  53.                It is 60H, which is the address of INT 18H; you may change it 
  54.                to point to some other unused 4-byte area of memory if you need 
  55.                to. (A suggestion is address 1CH, which is the vector location 
  56.                of "unknown" INT 7.)
  57.  
  58. MACHINE:       The program will run on any IBM PC/XT/AT series computer using 
  59.                MS-DOS 2.x or higher, with a minimum of 128K RAM.
  60.  
  61. DISCLAIMER:    This program is distributed as user-supported software.  Use it, 
  62.                copy it, give it to your friends.  No warranties, either 
  63.                expressed or implied, are given by the author or distributor of 
  64.                the program, and the user accepts all risk of damage arising out 
  65.                of the application and use of the program.
  66.  
  67. BEG:           If you like the program, send a couple of bucks or some 
  68.                unexpired fast food coupons (prefer Taco Bell or Zantigo) to me 
  69.                at the address listed above. 
  70.